var selected = "smile"
selectItem(selected)
function selectItem(e){
  document.getElementById(selected).classList.remove('selected');
  selected = e;
  document.getElementById("output").innerHTML='#'+e
  document.getElementById(selected).classList.add('selected');
}